package com.zjj.learn.designmodel.pattern.adapter.class_adapter;

/**
 * *** @author zjj_admin
 * *** 2022/4/10 14:13
 */
public class ClassAdapterClient {

    public static void main(String[] args) {

        Computer computer = new Computer();
        String s = computer.readSD(new SDCardImpl());
        System.out.println(s);

        System.out.println("=====================");

        String s1 = computer.readSD(new SDAdapterTF());
        System.out.println( s1);
        System.out.println("-----------------------");

        computer.writeSD(new SDAdapterTF());
    }
}
